<%@page contentType="text/html;charset=utf-8"%>
<%@page trimDirectiveWhitespaces="true"%>
<%@page import="org.seven.jrdp.commons.constant.GlobalContants"%>
<%@page import="org.seven.jrdp.commons.util.ServletUtils"%>
<%@page import="org.seven.jrdp.commons.model.Result"%>
<%
	String message = (String) request.getAttribute("message");
	String method = (String) request.getAttribute("method");
	if (GlobalContants.AJAX.equals(method)) {
		ServletUtils.writeJson(response, new Result(false, message));
	} else if ("GET".equals(method)) {
		pageContext.forward("/mgt/core/error/get");
	} else if ("POST".equals(method)) {
		pageContext.forward("/mgt/core/error/post");
	}
%>